package com.zenithmind.user.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统性能指标VO
 * 
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@Data
@Schema(description = "系统性能指标")
public class SystemMetricsVO {

    @Schema(description = "CPU使用率")
    private Double cpuUsage;

    @Schema(description = "内存使用率")
    private Double memoryUsage;

    @Schema(description = "磁盘使用率")
    private Double diskUsage;

    @Schema(description = "网络IO")
    private Long networkIO;

    @Schema(description = "JVM堆内存使用")
    private Long jvmHeapUsed;

    @Schema(description = "JVM堆内存总量")
    private Long jvmHeapTotal;

    @Schema(description = "线程数")
    private Integer threadCount;

    @Schema(description = "数据库连接数")
    private Integer dbConnections;

    @Schema(description = "Redis连接数")
    private Integer redisConnections;

    @Schema(description = "系统负载")
    private Double systemLoad;
}
